/*
 * @Description: 你的代码我的心
 * @Author: GGB
 * @Date: 2021-12-27 09:35:08
 * @LastEditors: GGB
 * @LastEditTime: 2022-01-04 10:30:14
 */

import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';

export type ExpressParams = {
  search?: string;
};

export type TimeWeekType = {
  name?: string;
  week_day?: number;
  start_time?: number;
  end_time?: number;
};

export type StoreFormParams = {
  describe?: string;
  detail?: string;
  doorplate?: string;
  end_time?: number | string;
  is_pickup?: number;
  jd?: number;
  logo_image_id?: number;
  phone?: string;
  start_time?: number;
  status?: number;
  store_name?: string;
  time_week?: TimeWeekType[];
  wd?: number | string;
};

export type UpdateStoreInfoParams = {
  form?: StoreFormParams;
  storeId?: string | number;
};

export type ExpressListGetResultModel = BasicFetchResult<any>;
export type ExpressPageParms = BasicPageParams & ExpressParams;
